package com.lnsystem.service;

import java.util.List;

import com.lnsystem.model.Stock;
import com.lnsystem.model.StockDailyData;

/**
 * @author guru
 *
 */
public interface QuoteService {
	
	/**
	 * @param symbol - the symbol for which quote is being requested.
	 * @return - the Stock object 
	 */
	public StockDailyData getStockData(String symbol);
	
	
	
	/**
	 * @param symbols - a list of symbols for which quote is being requested.
	 * @return list of Stock objects corresponding to the symbols  
	 */
	public List<StockDailyData> getStockData(List<String> symbols);


	/**
	 * @param symbol - the stock symbol
	 * @param startDate - start date in YYYY-MM-DD format
	 * @param endDate - end date in in YYYY-MM-DD format
	 * @param interval - "daily" or "weekly"
	 * @return
	 */
	public List<StockDailyData> getHistoricalQuotes(String symbol, String startDate, String endDate, String interval);

}
